package com.java.factory;

import com.java.dao.UserDao;
import com.java.dao.impl.UserDaoImpl;

/**
 * 工厂静态创建
 */

public class StaticFactory {

    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }

}
